package com.jy.rhin.model.body.xinshenger;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class Er {
    //耳外检查异常标志
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE04.10.029.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_029_00))
    String erWaiJCYCBZ;

    //耳外检查检查异常结果描述
    @XPath(model = "code", codePath = "/entry/observation/entryRelationship/observation/code[@code='DE04.10.028.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_028_00))
    String erWaiJCYCJGMS;

    //新生儿听力筛查结果
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE04.30.042.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_30_042_00))
    CodeObject xinShengRTLSX;

}